package com.power.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Description 购物车商品总金额
 * @Author dingchunlin
 * @Date 2024/07/22 16:28
 * @Version 1.0.0
 */
@ApiModel(value = "购物车商品总金额")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CartTotalAmount {

    @ApiModelProperty(value = "合计")
    private BigDecimal finalMoney = BigDecimal.ZERO;

    @ApiModelProperty(value = "总额")
    private BigDecimal totalMoney = BigDecimal.ZERO;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal subtractMoney = BigDecimal.ZERO;

    @ApiModelProperty(value = "运费")
    private BigDecimal transMoney = BigDecimal.ZERO;

}
